package com.lfs.admin.service;

import com.lfs.admin.model.entity.channel.ChannelInfoEntity;
import com.lfs.admin.model.entity.channel.ChannelToGroupEntity;
import com.lfs.admin.model.entity.channel.ChannelToProductEntity;
import com.lfs.admin.model.vo.channel.ChannelToGroupVO;
import com.lfs.admin.model.vo.channel.ChannelToProductVO;
import com.lfs.admin.model.vo.channel.ChannelVO;

import java.util.List;

public interface ChannelInfoService {

    List<ChannelInfoEntity> querySelectList(ChannelVO channelInfoVO);

    List<ChannelInfoEntity> queryChannelInfoList(ChannelVO channelInfoVO);

    ChannelInfoEntity getChannelById(Integer id);

    List<ChannelToProductEntity> getChannelToProduct(ChannelToProductVO channelToProductVO);

    int updateChannelInfo(ChannelVO channelInfoVO);

    int updateChannelStatus(ChannelVO channelVO);

    int updateChannelProductState(ChannelToProductVO channelToProductVO);

    int addChannelInfo(ChannelVO channelInfoVO);

    int addChannelToProduct(ChannelToProductVO channelToProductVO);

    int deleteChannelInfo(Integer[] ids);

    List<ChannelInfoEntity> getChannelList();

    List<ChannelInfoEntity> getChannelToGroupList(Integer channelNum);
}
